.catalog {
    padding-bottom: 100px;

    &__tabs {
        margin-top: 70px;
        list-style-type: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0;
        padding-left: 0;
    }

    &__tab {
        width: 220px;
        height: 50px;
        border: 2px solid #d0d0d0;
        margin: 0 5px;
        cursor: pointer;
        // text
        color: #6b6b6b;
        font-size: 18px;
        font-weight: 500;
        line-height: 48px;
        text-align: center;
        text-transform: uppercase;
        transform: skewX(-25deg);
        transition: 0.4s all;

        div {
            transform: skewX(25deg);
        }

        &_active {
            color: #fff;
            background-color: $main_color;
            border: none;
        }

        &:hover {
            box-shadow: 3px 3px 20px $main_color;
        }
    }

    &__content {
        margin-top: 60px;
        display: none;
        grid-template-columns: repeat(3, auto);
        justify-content: center;
        gap: 20px;

        &_active {
            display: grid;
        }
    }

    &-item {
        width: 300px;
        min-height: 440px;
        border: 2px solid #e8e8e8;
        padding: 20px 20px 26px;
        overflow: hidden;
        justify-self: center;

        &__img {
            display: block;
            margin: 0 auto;
            max-width: 100%;
            height: 200px;
        }

        &__subtitle {
            color: #0d0d0d;
            font-size: 16px;
            font-weight: 500;
            text-align: center;
        }

        &__descr {
            margin-top: 10px;
            color: #0d0d0d;
            font-size: 14px;
            font-weight: 300;
            text-align: center;
            line-height: normal;
        }

        &__link {
            margin-top: 17px;
            display: block;
            color: $main_color;
            font-size: 14px;
            font-weight: 500;
            text-align: center;
            text-decoration: underline;

            &:hover {
                color: $main_color;
            }
        }

        hr {
            margin: 20px 0;
            border-top: 1px solid #e8e8e8;
            border-bottom: none;
        }

        &__footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        &__old-price {
            color: #555555;
            font-size: 14px;
            font-weight: 300;
            text-align: left;
            text-decoration: line-through;
        }

        &__price {
            color: #050505;
            font-size: 20px;
            font-weight: 700;
            text-align: left;
        }

        &__wrapper {
            display: flex;
            width: calc(200% + 40px);
        }

        &__content {
            width: 50%;
            margin-right: 0;
            transform: translateX(-100%);
            transition: 0.4s all;

            &_active {
                margin-right: 20px;
                transform: translateX(0%);
            }
        }

        &__list {
            width: 50%;
            margin-left: 20px;
            transform: translateX(0%);
            padding-right: 20px;
            transition: 0.4s all;
            padding-left: 19px;
            margin-bottom: 0;
            list-style-type: none;
            position: relative;

            &_active {
                transform: translateX(-100%);
                margin-left: 0;
            }

            li {
                color: #555555;
                font-size: 14px;
                font-weight: 300;
                line-height: normal;
                text-align: left;
                position: relative;

                &:not(:first-child) {
                    margin-top: 20px;
                }

                &:not(:last-child):before {
                    content: '';
                    width: 5px;
                    height: 5px;
                    background-color: $main_color;
                    position: absolute;
                    top: 6px;
                    left: -14px;
                }

                &:last-child {
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    transform: translateX(-50%);
                    display: block;
                    color: $main_color;
                }
            }
        }

        &__back {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(calc(-50% - 19px));
            display: block;
            color: $main_color;
            font-size: 14px;
            font-weight: 500;
            text-decoration: underline;
            text-transform: uppercase;

            &:hover {
                color: $main_color;
            }
        }
    }
}